<!DOCTYPE html>
<?php
	$direction = ya_options()->getCpanelValue('direction');
?>
<!--[if IE 8]>         <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?> <?php if( $direction == 'rtl' ){echo 'dir="rtl"';}; ?>> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <title><?php wp_title('|', true, 'right'); ?></title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <?php wp_head(); ?>

  <link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> Feed" href="<?php echo home_url(); ?>/feed/">
	<!--[if IE 8]><!--><?php wp_enqueue_script('respond', get_template_directory_uri() . '/assets/js/respond.min.js', null, null, true) ?><!--<![endif]-->
  </head>
